package com.lkd.service.impl;

import com.lkd.service.ESOrderService;
import com.lkd.vo.BarCharVO;
import com.lkd.vo.OrderVO;
import com.lkd.vo.Pager;
import lombok.extern.slf4j.Slf4j;
import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

@Service
@Slf4j
public class ESOrderServiceImpl implements ESOrderService {


    @Autowired
    private RestHighLevelClient esClient;



    @Override
    public Pager<OrderVO> search(Integer pageIndex, Integer pageSize, String orderNo, String openId, String startDate, String endDate) {
        return null;
    }

    @Override
    public List<Long> getTop10Sku(Integer businessId) {
        return null;
    }



    @Override
    public BarCharVO getCollectByRegion(LocalDate start, LocalDate end) {
        return null;
    }



}
